home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / mardek_rpg.swf / scripts / frame_187 / DoAction.as
Text File  |  2011-09-19  |  11KB  |  231 lines

  1. function ┬º\x01\x02┬º()
  2. {
  3.    return 1348 % 511 * 5;
  4. }
  5. var ┬º\x01┬º = -947 + "\x01\x02"();
  6. while(true)
  7. {
  8.    if(eval("\x01") != 683)
  9.    {
  10.       if(eval("\x01") != 769)
  11.       {
  12.          if(eval("\x01") != 676)
  13.          {
  14.             if(eval("\x01") != 280)
  15.             {
  16.                if(eval("\x01") != 191)
  17.                {
  18.                   if(eval("\x01") != 136)
  19.                   {
  20.                      if(eval("\x01") != 619)
  21.                      {
  22.                         if(eval("\x01") != 587)
  23.                         {
  24.                            if(eval("\x01") != 341)
  25.                            {
  26.                               if(eval("\x01") == 15)
  27.                               {
  28.                                  set("\x01",eval("\x01") + 326);
  29.                                  break;
  30.                               }
  31.                               if(eval("\x01") != 646)
  32.                               {
  33.                                  if(eval("\x01") == 961)
  34.                                  {
  35.                                     set("\x01",eval("\x01") - 370);
  36.                                     nextFrame();
  37.                                     stop();
  38.                                     break;
  39.                                  }
  40.                                  if(eval("\x01") == 667)
  41.                                  {
  42.                                     set("\x01",eval("\x01") - 652);
  43.                                     if(function ┬º\x01\x02┬º()
  44.                                     {
  45.                                        return 1348 % 511 * 5;
  46.                                     })
  47.                                     {
  48.                                        set("\x01",eval("\x01") + 326);
  49.                                     }
  50.                                     continue;
  51.                                  }
  52.                                  if(eval("\x01") == 895)
  53.                                  {
  54.                                     set("\x01",eval("\x01") - 219);
  55.                                     continue;
  56.                                     continue;
  57.                                  }
  58.                                  if(eval("\x01") == 1)
  59.                                  {
  60.                                     set("\x01",eval("\x01") + 279);
  61.                                     continue;
  62.                                  }
  63.                                  if(eval("\x01") == 591)
  64.                                  {
  65.                                     set("\x01",eval("\x01") - 311);
  66.                                     continue;
  67.                                     continue;
  68.                                  }
  69.                                  if(eval("\x01") == 23)
  70.                                  {
  71.                                     set("\x01",eval("\x01") + 894);
  72.                                     ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  73.                                     {
  74.                                        return 1348 % 511 * 5;
  75.                                     }));
  76.                                     continue;
  77.                                  }
  78.                               }
  79.                               set("\x01",eval("\x01") - 623);
  80.                               ┬º┬ºpush("\x0f");
  81.                               continue;
  82.                               if(eval("\x01") != 917)
  83.                               {
  84.                                  if(eval("\x01") == 686)
  85.                                  {
  86.                                     set("\x01",eval("\x01") + 209);
  87.                                     break;
  88.                                  }
  89.                                  if(eval("\x01") == 682)
  90.                                  {
  91.                                     set("\x01",eval("\x01") - 155);
  92.                                     if(function ┬º\x01\x02┬º()
  93.                                     {
  94.                                        return 1348 % 511 * 5;
  95.                                     })
  96.                                     {
  97.                                        set("\x01",eval("\x01") + 336);
  98.                                     }
  99.                                     continue;
  100.                                  }
  101.                                  if(eval("\x01") != 527)
  102.                                  {
  103.                                     if(eval("\x01") != 339)
  104.                                     {
  105.                                        if(eval("\x01") == 863)
  106.                                        {
  107.                                           set("\x01",eval("\x01") - 501);
  108.                                           foePartyLayouts = {DEFAULT:[[76,62],[56,109],[33,150],[54,23]],SOLO:[[60,80],[0,0],[0,0],[0,0]],DUO:[[56,46],[56,140],[0,0],[0,0]],TRIO:[[52,90],[22,154],[30,18],[0,0]],DRAGON:[[65,93],[0,0],[0,0],[0,0]]};
  109.                                           _quality = OPTIONS.btlQuality;
  110.                                           Target = "e1";
  111.                                           if(!battling)
  112.                                           {
  113.                                              dmn1 = null;
  114.                                              dmn2 = null;
  115.                                              dmn3 = null;
  116.                                              dmn4 = null;
  117.                                              modded = false;
  118.                                              BOSSBATTLE = boss != null ? 1 : 0;
  119.                                           }
  120.                                           battling = true;
  121.                                           Acting = null;
  122.                                           Target = null;
  123.                                           victory = false;
  124.                                           test2 = 0;
  125.                                           var c = boss == undefined ? foes[random(foes.length)] : boss[0];
  126.                                           FOE_POS = foePartyLayouts[boss == null ? c[4] : boss[3]];
  127.                                           var i = 1;
  128.                                           while(i <= 4)
  129.                                           {
  130.                                              if(c[i - 1] == null)
  131.                                              {
  132.                                                 _root["PCstats_e" + i] = {model:null};
  133.                                              }
  134.                                              else
  135.                                              {
  136.                                                 _root["PCstats_e" + i] = {name:(boss == undefined ? GetModelInfo(c[i - 1]).names[random(GetModelInfo(c[i - 1]).names.length)] : boss[1][i - 1]),model:c[i - 1],hp:[10,10],mp:[10,10],B_LVL:(boss == null ? null : boss[2][i - 1])};
  137.                                                 _root.plotVars.EN_FULL.Bestiary[c[i - 1].toLowerCase()] = 1;
  138.                                              }
  139.                                              var a = FOE_POS;
  140.                                              _root["e" + i]._x = a[i - 1][0] + 38;
  141.                                              _root["e" + i]._y = a[i - 1][1] + 48 + 30;
  142.                                              i++;
  143.                                           }
  144.                                           GDelay = 30;
  145.                                           endturn = true;
  146.                                           turnArray = [];
  147.                                           d_d = 35000;
  148.                                           s_d = 16000;
  149.                                           if(!modded)
  150.                                           {
  151.                                              modded = true;
  152.                                              var i = 1;
  153.                                              while(i <= 4)
  154.                                              {
  155.                                                 _root["PCstats_" + i].statEnhn = {STR:0,VIT:0,AGL:0,SPR:0,ATK:0,DEF:0,MDEF:0};
  156.                                                 _root["PCstats_e" + i].statEnhn = {STR:0,VIT:0,AGL:0,SPR:0,ATK:0,DEF:0,MDEF:0};
  157.                                                 _root["PCstats_" + i].statusCounter = {};
  158.                                                 _root["PCstats_e" + i].statusCounter = {};
  159.                                                 _root["PCstats_" + i].crescendo = 0;
  160.                                                 _root["PCstats_e" + i].crescendo = 0;
  161.                                                 i++;
  162.                                              }
  163.                                           }
  164.                                           break;
  165.                                        }
  166.                                        if(eval("\x01") == 362)
  167.                                        {
  168.                                           set("\x01",eval("\x01") - 362);
  169.                                           break;
  170.                                        }
  171.                                     }
  172.                                     set("\x01",eval("\x01") + 347);
  173.                                     if(function ┬º\x01\x02┬º()
  174.                                     {
  175.                                        return 1348 % 511 * 5;
  176.                                     })
  177.                                     {
  178.                                        set("\x01",eval("\x01") + 209);
  179.                                     }
  180.                                  }
  181.                                  set("\x01",eval("\x01") + 336);
  182.                               }
  183.                            }
  184.                            set("\x01",eval("\x01") + 246);
  185.                            continue;
  186.                            set("\x01",eval("\x01") - 235);
  187.                         }
  188.                         set("\x01",eval("\x01") + 32);
  189.                         ┬º┬ºpush("\x0f");
  190.                         ┬º┬ºpush(1);
  191.                         continue;
  192.                      }
  193.                      set("\x01",eval("\x01") + 27);
  194.                      var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  195.                      {
  196.                         return 1348 % 511 * 5;
  197.                      };
  198.                      continue;
  199.                   }
  200.                   set("\x01",eval("\x01") + 825);
  201.                   if(function ┬º\x01\x02┬º()
  202.                   {
  203.                      return 1348 % 511 * 5;
  204.                   })
  205.                   {
  206.                      set("\x01",eval("\x01") - 370);
  207.                   }
  208.                   continue;
  209.                }
  210.                set("\x01",eval("\x01") + 485);
  211.                continue;
  212.                ┬º┬ºpush(!function ┬º\x01\x02┬º()
  213.                {
  214.                   return 1348 % 511 * 5;
  215.                });
  216.             }
  217.             set("\x01",eval("\x01") + 387);
  218.             ┬º┬ºpush(true);
  219.             continue;
  220.          }
  221.          set("\x01",eval("\x01") - 540);
  222.          ┬º┬ºpush(true);
  223.          continue;
  224.       }
  225.       set("\x01",eval("\x01") - 182);
  226.       continue;
  227.    }
  228.    set("\x01",eval("\x01") - 344);
  229.    ┬º┬ºpush(true);
  230. }
  231.